package com.example.activiti.runserver.impl;

import java.util.Map;

import org.springframework.context.annotation.DependsOn;
import org.springframework.stereotype.Repository;
import com.alibaba.fastjson.JSONObject;
import com.example.activiti.runserver.Runservice;

@DependsOn("springBeanUtil")
@Repository("testTask")
public class TestTask implements Runservice {

	@Override
	public void myTaTask(Map<String, Object> paramMap) {
		if(paramMap!=null) {
			String jsonStr = JSONObject.toJSONString(paramMap);
			System.out.println("获取到的参数为："+jsonStr);
		}else {
			System.out.println("获取到的参数为空！");
		}
	}
}
